package com.lagou.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EmailController {

    @RequestMapping("/email/email")
    public boolean email(@PathVariable String email, @PathVariable String code) {
        if (email !=null && code !=null){
            return true;
        }
        return false;
    }
}
